import java.sql.SQLOutput;

public class ch03 {
    public static void main(String[] args) {
        int[] s = {4,5,34,2,7,6};
        int num = Integer.parseInt(args[0]);

        boolean flag = false;
        for (int i = 0; i < s.length; i++) {
            if (num == s[i]){
                flag = true;
                System.out.println("这个数的下标是" + i);
                break;
            }
        }
        if (!flag){
            System.out.println("没有找到");
        }
    }
}
